import { createApp } from 'vue'
import App from './App.vue'
// 导入基础样式抹平浏览器差异
import 'normalize.css'
// 导入公共样式
import '@/assets/styles/common.less'
// 导入router对象挂载到vue中
import router from '@/router/index'
// 挂载store实例对象
import { createPinia } from 'pinia'
import XtxAll from '@/components/index'
// 注册自定义全局指令
import directives from '@/directives/index'
const app = createApp(App)
app.use(XtxAll)
app
  .use(router)
  .use(createPinia())
  .use(directives)
  .mount('#app')
